package com.kaba.bean.mongodb;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户关注/粉丝
 */
@ToString
public class Ufollows implements Serializable {

    /**
     * 用户关注编号
     */
    private String id;

    /**
     *
     */
    private String v;

    /**
     * 创建时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createat;

    /**
     * 粉丝集
     */
    private String fanslist;

    /**
     * 粉丝总数
     */
    private Integer fanstotal;

    /**
     * 关注集
     */
    private String follist;

    /**
     * 关注总数
     */
    private Integer folltotal;

    /**
     * 用户编号
     */
    private String userid;

    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getV() {
        return v;
    }

    public void setV(String v) {
        this.v = v;
    }

    public Date getCreateat() {
        return createat;
    }

    public void setCreateat(Date createat) {
        this.createat = createat;
    }

    public String getFanslist() {
        return fanslist;
    }

    public void setFanslist(String fanslist) {
        this.fanslist = fanslist;
    }

    public Integer getFanstotal() {
        return fanstotal;
    }

    public void setFanstotal(Integer fanstotal) {
        this.fanstotal = fanstotal;
    }

    public String getFollist() {
        return follist;
    }

    public void setFollist(String follist) {
        this.follist = follist;
    }

    public Integer getFolltotal() {
        return folltotal;
    }

    public void setFolltotal(Integer folltotal) {
        this.folltotal = folltotal;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }
}